// 地板专属对象
import Block from "./block";
import Comment from "./comment";
export default class Grass extends Block {
  constructor(
    x,
    y,
    width = Comment.blockSize,
    height = Comment.blockSize,
    imgSrc = require("@/assets/block.png")
  ) {
    // 继承了Block父类对象  需要通过super调用父类函数
    super(x, y, width, height, imgSrc);
  }
}
